package com.example.dayu521.sg_oss.controller.msg;

import com.example.dayu521.sg_oss.service.TradeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.function.Consumer;

@Component
@Slf4j
public class SettleLog implements Consumer<String> {

    @Override
    public void accept(String s) {
        log.info("消费 -> {}",s);
    }
}
